<template>
	<view class="conter">
		<header-box :title="title"></header-box>
		<view class="text-tab">
			<view class="box">
				<view class="marige-bor" v-for="(item, index) in textList" :key="index">
					<view class="diso-flex">
						<view class="">
							{{item.text}}
						</view>
						<view class="conter-image">
							<image src="../../static/index/right.png" mode=""></image>
						</view>
					</view>
				</view>
			</view>
		</view>
		
		
		<view class="add">
			+
		</view>
		
		<view class="flex-box total">
			<view class="">
				合计：
			</view>
			<view class="">
				6个
			</view>
		</view>
		
	</view>
</template>

<script>
	import headerBox from '../../components/header/header.vue'

	export default {
		components: {
			headerBox
		},
		data() {
			return {
				title: '往来单位',
				textList: [{
					text: '散客',
				}, {
					text: '新时尚',
				}, {
					text: '茉莉春天',
				}, {
					text: '信欣业',
				}, {
					text: '茉莉春天 拷贝',
				}, {
					text: '信欣业 拷贝',
				}]
			}
		},
		onLoad() {

		},
		onShow() {

		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.conter {
		width: 100%;
		height: 100%;
		position: relative;

		image {
			width: 100%;
			height: 100%;
		}

		.text-tab {
			padding: 30rpx;
			padding-bottom: 0;


			.box {
				width: 100%;
				background-color: #FFFFFF;
				border-radius: 10rpx;
				
			}

			.marige-bor {
				color: #333333;
				display: flex;
				font-size: 28rpx;
				// padding: 30rpx;
				align-items: center;
				justify-content: space-between;
				
				.diso-flex {
					width: 100%;
					height: 80rpx;
					display: flex;
					align-items: center;
					margin: 0 30rpx;
					border-bottom: 1rpx solid #F0F0F0;
					justify-content: space-between;
				}
				
				// .diso-flex:last-child {
				// 	border-bottom: 0;
				// }

				.conter-image {
					width: 22rpx;
					height: 36rpx;
				}
			}
		}
	
	
		// 加号
		.add {
			position: absolute;
			bottom: 200rpx;
			right: 40rpx;
			width: 100rpx;
			height: 100rpx;
			text-align: center;
			line-height: 100rpx;
			background-color: #AFB3F1;
			border-radius: 50%;
			font-size: 100rpx;
			color: #FFFFFF;
		}
		
		.total {
			width: 100%;
			position: absolute;
			bottom: 0;
			left: 0;
			height: 100rpx;
			padding: 0 60rpx 0 30rpx;
			background-color: #FFFFFF;
		}
		
	}
</style>
